import axios from 'axios';
/* 这就是ajax 请求回每一天的排班信息（重要） */
export default function axiosRequestback(filmId, cinemaId, dateid) {

  return axios({
    url: "https://m.maizuo.com/gateway/?filmId=" +filmId +"&cinemaId=" +cinemaId +"&date=" + dateid+"&k="+Math.random()*123123+123,
    headers: {
      "X-Host": "mall.film-ticket.schedule.list",
      "X-Client-Info": `{"a":"3000","ch":"1002","v":"5.0.4","e":"1633053413552375743938561","bc":"110100"}`,
      "X-Token":`eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhZ2VudElkIjoiMzAwMCIsInRpbWVzdGFtcCI6MTYzNDYzNDAxNSwidXNlcklkIjozMTY5MzYxNn0.6mHJEA_WAtDzaE2xVpoAxCJxY3AkHKLMA0d1TsxwtMU`
    },
    method: "GET",
  })
}